package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.config.ResponseVO;
import com.example.pojo.Classes;
import com.example.pojo.TeacherInfo;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface ClassesService {
    List<Classes> getAllClasses();

    ResponseEntity<ResponseVO<List<Classes>>>  classesInfoListDistribute(int gradeLevel);

    IPage<Classes> getClassesPage(int currentPage,int limit);

    Classes getClassInfoById(Long classId);

    String addOrUpdateClasses(Classes Classes);

    String deleteClasses(Long classesId);
    // 获取该班级的班主任或副班主任的数据
    ResponseEntity<ResponseVO<List<Long>>> getTeacherByClassesId(Long classId);
}
